home *** CD-ROM | disk | FTP | other *** search
-
- DEMO Programs Written in Euphoria
- ---------------------------------
-
- This directory contains several example programs written in Euphoria. These
- programs are being contributed to the Public Domain by
- Rapid Deployment Software. You are encouraged to modify and redistribute
- any of these programs. Do not view these programs as being the best that
- you can do in Euphoria. They are intended merely as examples to aid your
- understanding of how the language works. We hope you will come up with
- something much better. To run any of them type 'ex' followed by the file
- name. You can view and modify these programs using any editor,
- but we recommend using the Euphoria editor so you can get color syntax
- highlighting. See the bin directory for some other, more
- practical programs written in Euphoria, such as ed.ex, grep.ex, lines.ex
- and eprint.ex.
-
- NAME DESCRIPTION
- ---- -----------
-
- mset.ex - Mandelbrot Set viewer
- - Press Enter to choose a region of the M-set to zoom in on
- - 'q' to quit
-
- ttt.ex - 3-dimensional tic tac toe
- - try to get 4 in a row, on any plane or 1 per plane
- - play against "DEFENDO" or "AGGRESSO" or a human, or
- watch the AGGRESSO and DEFENDO algorithms slug it out
-
- sb.ex - screen blank program
- - displays pretty patterns on your screen
- - edit the program to speed up, slow down, or change the patterns
- - how fast will it go without the delay loop?
- - can you think of a more interesting algorithm?
-
- wire.ex - 3-D wire frame demo of the big 'E' in Euphoria
-
- plot3d.ex - 3-D surface plotting of functions
- - add in your own function of x and y, and see it plotted
- - Press Enter to move on to the next sample function
-
- allsorts.ex - comparison of different sorting algorithms
- - which is the fastest sorting algorithm in Euphoria?
-
- dice.ex - rolls dice and displays results as a bar graph
-
- animal.ex - guess the animal game
- - let the computer guess which animal you are thinking of
- - it learns about animals as you play
-
- example.ex - example program from the manual
-
- simple.ex - compiled "with trace" so you can see a program execute
- by hitting Enter for each statement. (Just Press down on
- the Enter key.)
-
- mouse.ex - simple demo of get_mouse()
-
- sanity.ex - this program tests hundreds of features of Euphoria, in a quick,
- self-test. If this program reports "PASSED" then Euphoria is
- working on your machine. If not, there is something wrong.
-
- langwar directory - contains a real-time star wars type game
- - read lw.doc, ex lw
-
- bench directory - contains benchmark programs for comparing Euphoria
- against C and BASIC. Don't take our word for it! - see
- how fast Euphoria is on your machine
-
- learn directory - learn.ex - quizzes you on your knowledge of Euphoria
- gives you some programming exercises and checks them for
- correctness
- --------------------------------------------------------------------
- -- See the .ex files themselves for more details.
- -- You can view them with: ed filename.ex
- --------------------------------------------------------------------
-
-